package com.leador.location;

/**
 * Created by lhy on 2016/9/15.
 */
public class LocationTrace {
    public int type;    //类型
    public boolean enableUser = false; //数据是否可用
    public int statusTail = 0;
    public int accuracy = 0;
    public int bearing = 0;
    public int speed = 0;
    public int altitude = 0;
    public double longitude = 0;
    public double latitude = 0;
    public long time = 0;
    public String extend1;


    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public boolean isEnableUser() {
        return enableUser;
    }

    public void setEnableUser(boolean enableUser) {
        this.enableUser = enableUser;
    }

    public int getStatusTail() {
        return statusTail;
    }

    public void setStatusTail(int statusTail) {
        this.statusTail = statusTail;
    }

    public int getAccuracy() {
        return accuracy;
    }

    public void setAccuracy(int accuracy) {
        this.accuracy = accuracy;
    }

    public int getBearing() {
        return bearing;
    }

    public void setBearing(int bearing) {
        this.bearing = bearing;
    }

    public int getSpeed() {
        return speed;
    }

    public void setSpeed(int speed) {
        this.speed = speed;
    }

    public int getAltitude() {
        return altitude;
    }

    public void setAltitude(int altitude) {
        this.altitude = altitude;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public String getExtend1() {
        return extend1;
    }

    public void setExtend1(String extend1) {
        this.extend1 = extend1;
    }


    @Override
    public String toString() {
        return "LocationTrace{" +
                "type=" + type +
                ", enableUser=" + enableUser +
                ", statusTail=" + statusTail +
                ", accuracy=" + accuracy +
                ", bearing=" + bearing +
                ", speed=" + speed +
                ", altitude=" + altitude +
                ", longitude=" + longitude +
                ", latitude=" + latitude +
                '}';
    }
}
